object fmPrincipal: TfmPrincipal
  Left = 203
  Top = 183
  Width = 920
  Height = 562
  Caption = 'Transferir Base'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object PageControl1: TPageControl
    Left = 8
    Top = 8
    Width = 897
    Height = 513
    ActivePage = TabSheet1
    TabOrder = 0
    object TabSheet1: TTabSheet
      Caption = 'Conectar Base'
      object Shape1: TShape
        Left = 412
        Top = 11
        Width = 1
        Height = 462
      end
      object Label9: TLabel
        Left = 8
        Top = 56
        Width = 45
        Height = 13
        Caption = 'Protocolo'
      end
      object Label10: TLabel
        Left = 8
        Top = 152
        Width = 25
        Height = 13
        Caption = 'Porta'
      end
      object Label11: TLabel
        Left = 8
        Top = 200
        Width = 36
        Height = 13
        Caption = 'Usu'#225'rio'
      end
      object Label12: TLabel
        Left = 8
        Top = 248
        Width = 31
        Height = 13
        Caption = 'Senha'
      end
      object Label13: TLabel
        Left = 424
        Top = 152
        Width = 25
        Height = 13
        Caption = 'Porta'
      end
      object Label14: TLabel
        Left = 424
        Top = 200
        Width = 36
        Height = 13
        Caption = 'Usu'#225'rio'
      end
      object Label15: TLabel
        Left = 424
        Top = 248
        Width = 31
        Height = 13
        Caption = 'Senha'
      end
      object Label16: TLabel
        Left = 424
        Top = 56
        Width = 45
        Height = 13
        Caption = 'Protocolo'
      end
      object Label3: TLabel
        Left = 8
        Top = 8
        Width = 66
        Height = 13
        Caption = 'Base1 (Fonte)'
      end
      object Label4: TLabel
        Left = 424
        Top = 8
        Width = 75
        Height = 13
        Caption = 'Base2 (Destino)'
      end
      object Label19: TLabel
        Left = 8
        Top = 104
        Width = 53
        Height = 13
        Caption = 'Host Name'
      end
      object Label20: TLabel
        Left = 424
        Top = 104
        Width = 53
        Height = 13
        Caption = 'Host Name'
      end
      object Button1: TButton
        Left = 8
        Top = 408
        Width = 75
        Height = 25
        Caption = 'Conectar'
        TabOrder = 14
        OnClick = Button1Click
      end
      object cbProtocoloBDFonte: TComboBox
        Left = 8
        Top = 72
        Width = 145
        Height = 21
        ItemHeight = 13
        TabOrder = 2
        Items.Strings = (
          'firebird-1.0'
          'firebird-1.5'
          'firebird-2.0'
          'firebird-2.1'
          'interbase-5'
          'interbase-6'
          'postgresql'
          'postgresql-7'
          'postgresql-8')
      end
      object Button2: TButton
        Left = 424
        Top = 400
        Width = 75
        Height = 25
        Caption = 'Conectar'
        TabOrder = 15
        OnClick = Button2Click
      end
      object cbProtocoloBDDestino: TComboBox
        Left = 424
        Top = 72
        Width = 145
        Height = 21
        ItemHeight = 13
        TabOrder = 9
        Items.Strings = (
          'firebird-1.0'
          'firebird-1.5'
          'firebird-2.0'
          'firebird-2.1'
          'interbase-5'
          'interbase-6'
          'postgresql'
          'postgresql-7'
          'postgresql-8')
      end
      object edPortaBDFonte: TEdit
        Left = 8
        Top = 168
        Width = 121
        Height = 21
        TabOrder = 4
        Text = '0'
      end
      object edUsuarioBDFonte: TEdit
        Left = 8
        Top = 216
        Width = 121
        Height = 21
        TabOrder = 5
      end
      object edSenhaBDFonte: TEdit
        Left = 8
        Top = 264
        Width = 121
        Height = 21
        PasswordChar = '*'
        TabOrder = 6
      end
      object edPortaBDDestino: TEdit
        Left = 424
        Top = 168
        Width = 121
        Height = 21
        TabOrder = 11
        Text = '0'
      end
      object edUsuarioBDDestino: TEdit
        Left = 424
        Top = 216
        Width = 121
        Height = 21
        TabOrder = 12
      end
      object edSenhaBDDestino: TEdit
        Left = 424
        Top = 264
        Width = 121
        Height = 21
        PasswordChar = '*'
        TabOrder = 13
      end
      object edBase1: TEdit
        Left = 8
        Top = 24
        Width = 313
        Height = 21
        TabOrder = 0
      end
      object edBase2: TEdit
        Left = 424
        Top = 24
        Width = 313
        Height = 21
        TabOrder = 7
      end
      object Button12: TButton
        Left = 96
        Top = 408
        Width = 89
        Height = 25
        Caption = 'Desconectar'
        TabOrder = 16
        OnClick = Button12Click
      end
      object Button13: TButton
        Left = 512
        Top = 400
        Width = 89
        Height = 25
        Caption = 'Desconectar'
        TabOrder = 17
        OnClick = Button13Click
      end
      object edHostBDFonte: TEdit
        Left = 8
        Top = 120
        Width = 121
        Height = 21
        TabOrder = 3
      end
      object edHostBDDestino: TEdit
        Left = 424
        Top = 120
        Width = 121
        Height = 21
        TabOrder = 10
      end
      object Button10: TButton
        Left = 325
        Top = 23
        Width = 16
        Height = 25
        Caption = '...'
        TabOrder = 1
        OnClick = Button10Click
      end
      object Button15: TButton
        Left = 741
        Top = 21
        Width = 16
        Height = 25
        Caption = '...'
        TabOrder = 8
        OnClick = Button15Click
      end
    end
    object TabSheet2: TTabSheet
      Caption = 'Transferir Base'
      ImageIndex = 1
      object Label7: TLabel
        Left = 432
        Top = 96
        Width = 33
        Height = 13
        Caption = 'Base 1'
      end
      object Label8: TLabel
        Left = 432
        Top = 256
        Width = 33
        Height = 13
        Caption = 'Base 2'
      end
      object Label5: TLabel
        Left = 8
        Top = 96
        Width = 74
        Height = 13
        Caption = 'Tabelas Origem'
      end
      object Label2: TLabel
        Left = 213
        Top = 96
        Width = 77
        Height = 13
        Caption = 'Tabelas Destino'
      end
      object Label6: TLabel
        Left = 213
        Top = 256
        Width = 38
        Height = 13
        Caption = 'Campos'
      end
      object Label1: TLabel
        Left = 8
        Top = 253
        Width = 38
        Height = 13
        Caption = 'Campos'
      end
      object Label17: TLabel
        Left = 8
        Top = 8
        Width = 66
        Height = 13
        Caption = 'Base1 (Fonte)'
      end
      object Label18: TLabel
        Left = 8
        Top = 50
        Width = 75
        Height = 13
        Caption = 'Base2 (Destino)'
      end
      object edQuery1: TEdit
        Left = 432
        Top = 39
        Width = 377
        Height = 21
        TabOrder = 0
        Text = 'select * from bandas'
        Visible = False
      end
      object Button11: TButton
        Left = 448
        Top = 8
        Width = 121
        Height = 25
        Caption = 'Add Query Base 1'
        TabOrder = 1
        Visible = False
        OnClick = Button11Click
      end
      object DBGrid1: TDBGrid
        Left = 432
        Top = 112
        Width = 377
        Height = 132
        DataSource = DataSource1
        TabOrder = 2
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
      end
      object DBGrid2: TDBGrid
        Left = 432
        Top = 272
        Width = 377
        Height = 134
        DataSource = DataSource2
        TabOrder = 3
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
      end
      object lbTabelas1: TListBox
        Left = 8
        Top = 112
        Width = 187
        Height = 132
        ItemHeight = 13
        TabOrder = 4
        OnClick = lbTabelas1Click
        OnKeyUp = lbTabelas1KeyUp
      end
      object lbTabelas2: TListBox
        Left = 212
        Top = 112
        Width = 195
        Height = 133
        ItemHeight = 13
        TabOrder = 5
        OnClick = lbTabelas2Click
        OnKeyUp = lbTabelas2KeyUp
      end
      object lbCampos2: TListBox
        Left = 212
        Top = 272
        Width = 194
        Height = 134
        ItemHeight = 13
        TabOrder = 6
        OnKeyUp = lbCampos2KeyUp
      end
      object lbCampos1: TListBox
        Left = 8
        Top = 270
        Width = 187
        Height = 137
        ItemHeight = 13
        TabOrder = 7
        OnKeyUp = lbCampos1KeyUp
      end
      object Button3: TButton
        Left = 8
        Top = 416
        Width = 33
        Height = 25
        Caption = '^'
        TabOrder = 8
        OnClick = Button3Click
      end
      object Button4: TButton
        Left = 48
        Top = 416
        Width = 33
        Height = 25
        Caption = 'v'
        TabOrder = 9
        OnClick = Button4Click
      end
      object Button8: TButton
        Left = 88
        Top = 416
        Width = 25
        Height = 25
        Caption = '-'
        TabOrder = 10
        OnClick = Button8Click
      end
      object Button5: TButton
        Left = 216
        Top = 416
        Width = 33
        Height = 25
        Caption = '^'
        TabOrder = 11
        OnClick = Button5Click
      end
      object Button6: TButton
        Left = 256
        Top = 416
        Width = 33
        Height = 25
        Caption = 'v'
        TabOrder = 12
        OnClick = Button6Click
      end
      object Button9: TButton
        Left = 296
        Top = 416
        Width = 25
        Height = 25
        Caption = '-'
        TabOrder = 13
        OnClick = Button9Click
      end
      object Button7: TButton
        Left = 8
        Top = 452
        Width = 105
        Height = 25
        Caption = 'Transferir Tabela'
        TabOrder = 14
        OnClick = Button7Click
      end
      object Edit7: TEdit
        Left = 8
        Top = 24
        Width = 377
        Height = 21
        Enabled = False
        ReadOnly = True
        TabOrder = 15
      end
      object Edit8: TEdit
        Left = 8
        Top = 66
        Width = 377
        Height = 21
        Enabled = False
        ReadOnly = True
        TabOrder = 16
      end
      object Button14: TButton
        Left = 432
        Top = 448
        Width = 105
        Height = 25
        Caption = 'Mesclar Tabelas'
        TabOrder = 17
        OnClick = Button14Click
      end
      object cbGerarIDAuto: TCheckBox
        Left = 212
        Top = 456
        Width = 153
        Height = 17
        Caption = 'Gerar ID Automaticamente'
        TabOrder = 18
      end
      object Button16: TButton
        Left = 120
        Top = 416
        Width = 25
        Height = 25
        Caption = '+'
        TabOrder = 19
        OnClick = Button16Click
      end
    end
  end
  object zCon1: TZConnection
    HostName = 'localhost'
    Left = 808
    Top = 40
  end
  object zCon2: TZConnection
    Protocol = 'firebird-2.0'
    HostName = 'localhost'
    User = 'SYSDBA'
    Password = 'masterkey'
    Left = 744
    Top = 40
  end
  object tbl1: TZTable
    Connection = zCon1
    Left = 840
    Top = 40
  end
  object tbl2: TZTable
    Connection = zCon2
    Left = 872
    Top = 40
  end
  object DataSource1: TDataSource
    DataSet = tbl1
    Left = 776
    Top = 40
  end
  object DataSource2: TDataSource
    DataSet = tbl2
    Left = 872
    Top = 72
  end
  object OpenDialog1: TOpenDialog
    Left = 276
    Top = 160
  end
  object ZSQLProcessor1: TZSQLProcessor
    Params = <>
    Connection = zCon2
    Delimiter = ';'
    Left = 836
    Top = 72
  end
  object ZSQLMetadata1: TZSQLMetadata
    Connection = zCon2
    MetadataType = mdTables
    Left = 788
    Top = 88
  end
end
